<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
	'htmlOptions'=>array('class'=>'form-horizontal'),
)); ?>

	<div class="control-group">
		<?php echo $form->label($model,'name',array('class'=>'control-label')); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'topicID',array('class'=>'control-label')); ?>
		<?php echo $form->textField($model,'topicID',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'description',array('class'=>'control-label')); ?>
		<?php echo $form->textField($model,'description',array('size'=>60,'maxlength'=>500)); ?>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'content',array('class'=>'control-label')); ?>
		<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'enabled',array('class'=>'control-label')); ?>
		<?php echo $form->dropDownList($model,'enabled',array('Ẩn','Hiện'),array('prompt'=>'Tất cả')); ?>
	</div>

	<?php echo CHtml::submitButton('Tìm', array('class'=>'btn btn-success')); ?>
<?php $this->endWidget(); ?>